﻿#pragma once

#include "function/RenderSystem/AbstractRenderContext.h"

#include <glad/glad.h>
#include <GLFW/glfw3.h>

namespace Engine
{
	class OpenGLContext final : public AbstractRenderContext
	{
	public:
		explicit OpenGLContext(GLFWwindow* windowHandle);
		virtual  ~OpenGLContext() override = default;

		virtual void Init() override;
		virtual void SwapBuffers() override;

	private:
		GLFWwindow* windowHandle;
	};
}
